<?php
/**
 * 定义后台管理界面左侧的菜单
 *
 * @copyright Copyright (c) 2004 - 2009 iTeam
 * @author sunnycoolboy
 * @package leadtone
 * @version $Id: Menu.php 2009-04-20
 */
$modelClasses =& FLEA::getSingleton('Model_Categories');

$catalog = array();

$menu = array();
$menu[] = array('首页轮播', 'BoIndex', 'Index');
$menu[] = array('首页案例（轮播右侧）', 'BoIndex', 'ProList');
$menu[] = array('首页案例（视频右侧）', 'BoIndex', 'CaseList');
$catalog[] = array('首页', $menu, FRONGPAGE_ADMIN);

//$menu = array();
//$menu[] = array('作品管理', 'BoProduct', 'Index');
//$menu[] = array('作品分类介绍', 'BoDescription', '');
//$catalog[] = array('作品管理', $menu, PRODUCT_ADMIN);

$menu = array();
$menu[] = array('策划团队', 'BoNew', 'Index');
$menu[] = array('一站式服务', 'BoService', 'Index');
$menu[] = array('主题婚礼', 'BoProduct', 'Index');
$menu[] = array('婚礼跟拍', 'BoPhoto', 'Index');
$menu[] = array('婚礼视频', 'BoVideo', 'Index');
$menu[] = array('婚礼常识', 'BoGeneral', 'Index');
//$menu[] = array('留言列表', 'BoList', 'Message');
//$menu[] = array('静态页列表', 'BoEzpage', 'Index');
$catalog[] = array('内容管理', $menu,NEW_ADMIN);

//$menu = array();
//$menu[] = array('订单列表', 'BoList', 'Index');
//$menu[] = array('留言列表', 'BoList', 'Message');
//$catalog[] = array('列表管理', $menu,LIST_ADMIN);

//修改密码
$menu = array();
$menu[] = array(_T('ui_u_change_password_menu'), 'BoPreference', 'changePassword');
$catalog[] = array(_T('ui_u_preference_catalog'), $menu, PASSWORD_ADMIN);

//分类管理
$menu = array();
$menu[] = array('<span style="color: red;">分类维护</span>', 'BoArticleClasses', '', array('access' => CLASSES_ADMIN));
$menu[] = array('<span style="color: red;">系统配置</span>', 'BoConfig', '', array('access' => CLASSES_ADMIN));
$menu[] = array('上传图片', 'BoPic', '', array('access' => CLASSES_ADMIN));
$catalog[] = array(_T('ui_w_classes'), $menu, CLASSES_ADMIN);


return $catalog;
